package com.atguigu.msmservice.service;

import java.util.Map;

/**
 * @Author panghl
 * @Date 2021/2/3 16:53
 **/
public interface EmailService {
    /**
     * 通过邮件发送验证码
     * @param map
     * @param sendTo
     * @return
     */
    boolean sendCodeByEmail(Map<String, Object> map, String sendTo);
}
